package cn.itsource.crm.service.impl;



import cn.itsource.crm.domain.Employee;
import cn.itsource.crm.mapper.EmployeeMapper;
import cn.itsource.crm.service.IEmployeeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class EmployeeServiceImpl  implements IEmployeeService {
    @Autowired
    private EmployeeMapper mapper;

    @Override
    public List<Employee> queryByRoleId(Long id) {
        return mapper.queryByRoleId(id);
    }
}
